"""
11 - Dars
"""


NAME = 'Og\'abek'
AGE = 11

print('Mening ismim ' + NAME + '. Yoshim ' + str(AGE) + ' da')#koncatinatsiya.
print('Mening ismim %(ism)s. Yoshim %(yosh)d da' %{'ism': NAME, 'yosh': AGE})
print("Mening ismim %s. Yoshim %d da" %(NAME, AGE))
print('Title: %s, Price: %.2f' %('Sony', 40))

# format
print('Mening ismim {}. Yoshim {} da'.format(NAME, AGE))
print('Mening ismim {0}. Yoshim {1} da'.format(NAME, AGE))
print('Mening {0}. Yoshim {1} da'.format(NAME, AGE))
print('Mening ismim {name}. Yoshim {age} da'.format(name=NAME, age=AGE))

# f-strings
print(f'Mening ismim {NAME}. Yoshim {AGE} da')
print(f'Mening ismim {NAME}. Yoshim {AGE + 5} da')
print('5 + 2 = {}'.format(5 + 2))
print(f'5 + 2 = {5 + 2}')
